@FONT-FACE {
	font-family: "pdark";
	src: url("/CyanZhong/res/pdark.ttf");
}

* {
	margin: 0;
	padding: 0;
}

html {
	overflow: auto;
}

body { /* Setting default text color, background and a font stack */
	font-size: 0.825em;
	color: #eee;
	background: url("/CyanZhong/pics/bg.png") repeat-x #222222;
	font-family: pdark, Helvetica, sans-serif;
	display: none;
}

#login {
	background-color: #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fff),
		to(#eee) );
	background-image: -webkit-linear-gradient(top, #fff, #D8D8D8);
	background-image: -moz-linear-gradient(top, #fff, #D8D8D8);
	background-image: -ms-linear-gradient(top, #fff, #D8D8D8);
	background-image: -o-linear-gradient(top, #fff, #D8D8D8);
	background-image: linear-gradient(top, #fff, #D8D8D8);
	height: 240px;
	width: 400px;
	margin: -150px 0 0 -230px;
	padding: 30px;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 1px 1px
		rgba(0, 0, 0, .2), 0 3px 0 #E6E6E6, 0 4px 0 rgba(0, 0, 0, .2), 0 6px 0
		#E6E6E6, 0 7px 0 rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 1px 1px 0 rgba(0, 0, 0, .1),
		3px 3px 0 rgba(255, 255, 255, 1), 4px 4px 0 rgba(0, 0, 0, .1), 6px 6px
		0 rgba(255, 255, 255, 1), 7px 7px 0 rgba(0, 0, 0, .1);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, .2), 0
		3px 0 #E6E6E6, 0 4px 0 rgba(0, 0, 0, .2), 0 6px 0 #E6E6E6, 0 7px 0
		rgba(0, 0, 0, .2);
}

#login:before {
	content: '';
	position: absolute;
	z-index: -1;
	border: 1px dashed gray;
	top: 5px;
	bottom: 5px;
	left: 5px;
	right: 5px;
	-moz-box-shadow: 0 0 0 1px #fff;
	-webkit-box-shadow: 0 0 0 1px #fff;
	box-shadow: 0 0 0 1px #fff;
}

/*--------------------*/
h1 {
	text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0px 2px 0
		rgba(0, 0, 0, .5);
	text-align: center;
	color: #666;
	margin: 0 0 30px 0;
	letter-spacing: 4px;
	font: normal 26px/1 "pdark", Helvetica;
	position: relative;
}

/*--------------------*/
fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

/*--------------------*/
#inputs input {
	background: #f1f1f1 url(/CyanZhong/pics/login-sprite.png) no-repeat;
	padding: 15px 15px 15px 30px;
	margin: 0 0 10px 0;
	width: 353px; /* 353 + 2 + 45 = 400 */
	border: 1px dashed gray;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#username {
	background-position: 5px -2px !important;
}

#password {
	background-position: 5px -52px !important;
}

#inputs input:focus {
	border-color: #DF0101;
	outline: none;
}

/*--------------------*/
#actions {
	margin: 25px 0 0 0;
	width: 100%;
	display: inline-block;
	text-align: center;
}

.myButton {
	font-family: Georgia;
	font-size: 0.5em;
	font-style: italic;
	text-shadow: 1px 1px 1px rgb(0, 0, 0);
	letter-spacing: 0.2em;
}
